package cn.mill.demo.open;

import cn.mill.common.HttpMethod;
import cn.mill.common.annotation.HttpDefine;
import cn.mill.common.annotation.MethodMapping;
import cn.mill.common.annotation.ServiceDefine;

@ServiceDefine(name = "openApi", node = "open", protocol = "https", strategy = "json")
public interface OpenApi {
	@HttpDefine(method = HttpMethod.GET)
	@MethodMapping(value = "/musicRankings", tip = "获取 音乐列表")
	public ResponseMessage<Music> musics();
	
	@MethodMapping(value = "/musicBroadcasting", tip = "获取 频道列表")
	public ResponseMessage<Music> channel();
}
